package com.supermap.application.dao;

import com.supermap.application.entity.TMicroIdenmeta;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;

import java.util.List;

/**
 * 基本指标配置信息dao
 *
 * @author Created by W.Qiong on 14-3-4.
 */
public interface MicroIdenmetaDao extends JpaRepository<TMicroIdenmeta, Integer> {

    @Query("select t from TMicroIdenmeta t where t.mitmid = :mitmid order by t.orderby")
    List<TMicroIdenmeta> findListByMitmid(@Param("mitmid") int mitmid);

}
